﻿using System;
using ProtoBuf;
using ProtoSerializer;
using CSProtoData;

namespace ProtoSerializer
{
    class MainClass
    {
        public static void Main(string[] args)
        {
            var model = ProtoBuf.Meta.TypeModel.Create();

            model.Add(typeof(Head), true);
            model.Add(typeof(Number), true);
            model.Add(typeof(Board), true);
            model.Add(typeof(Request), true);

            model.Compile("CSProtoSerializer", "CSProtoSerializer.dll");
        }
    }
}